#include "PlanView.h"

namespace OpenDrive {
	PlanView::PlanView(){}
	
	PlanView::~PlanView(){}

	void PlanView::setLine(Line *line)
	{
		geometries.push_back(std::shared_ptr<Geometry>(line));
	}

	void PlanView::setArc(Arc *acr)
	{
		geometries.push_back(std::shared_ptr<Geometry>(acr));
	}

	void PlanView::setSpiral(Spiral *spiral)
	{
		geometries.push_back(std::shared_ptr<Geometry>(spiral));
	}

	void PlanView::setParamPoly3(ParamPoly3 *paramPoly3)
	{
		geometries.push_back(std::shared_ptr<Geometry>(paramPoly3));
	}
}